<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>ExtUtils::MM_Unix - methods used by ExtUtils::MakeMaker - Perldoc Browser</title>
    <link rel="search" href="https://perldoc.perl.org/opensearch.xml" type="application/opensearchdescription+xml" title="Perldoc Browser">
    <link rel="canonical" href="https://perldoc.perl.org/ExtUtils::MM_Unix">
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/styles/stackoverflow-light.min.css" integrity="sha512-cG1IdFxqipi3gqLmksLtuk13C+hBa57a6zpWxMeoY3Q9O6ooFxq50DayCdm0QrDgZjMUn23z/0PMZlgft7Yp5Q==" crossorigin="anonymous" />
    <style>
      body {
        background: #f4f4f5;
        color: #020202;
      }
      .navbar-dark {
        background-image: -webkit-linear-gradient(top, #005f85 0, #002e49 100%);
        background-image: -o-linear-gradient(top, #005f85 0, #002e49 100%);
        background-image: linear-gradient(to bottom, #005f85 0, #002e49 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff005f85', endColorstr='#ff002e49', GradientType=0);
        background-repeat: repeat-x;
      }
      .navbar-dark .navbar-nav .nav-link,
      .navbar-dark .navbar-nav .nav-link:focus { color: #fff }
      .navbar-dark .navbar-nav .nav-link:hover { color: #ffef68 }
      #wrapperlicious {
        margin: 0 auto;
        font: 0.9em 'Helvetica Neue', Helvetica, sans-serif;
        font-weight: normal;
        line-height: 1.5em;
        margin: 0;
        padding: 0;
      }
      #wrapperlicious h1 { font-size: 1.5em }
      #wrapperlicious h2 { font-size: 1.3em }
      #wrapperlicious h3 { font-size: 1.1em }
      #wrapperlicious h4 { font-size: 0.9em }
      #wrapperlicious h1, #wrapperlicious h2, #wrapperlicious h3,
      #wrapperlicious h4, #wrapperlicious dt {
        color: #020202;
        margin-top: 1em;
        margin-bottom: 1em;
        position: relative;
        font-weight: bold;
      }
      #wrapperlicious a { color: inherit; text-decoration: underline }
      #wrapperlicious #toc { text-decoration: none }
      #wrapperlicious a:hover { color: #2a2a2a }
      #wrapperlicious a img { border: 0 }
      #wrapperlicious :not(pre) > code {
        color: inherit;
        background-color: rgba(0, 0, 0, 0.04);
        border-radius: 3px;
        font: 0.9em Consolas, Menlo, Monaco, monospace;
        padding: 0.3em;
      }
      #wrapperlicious dd {
        margin: 0;
        margin-left: 2em;
      }
      #wrapperlicious dt {
        color: #2a2a2a;
        font-weight: bold;
        margin-left: 0.9em;
      }
      #wrapperlicious p {
        margin-bottom: 1em;
        margin-top: 1em;
      }
      #wrapperlicious li > p {
        margin-bottom: 0;
        margin-top: 0;
      }
      #wrapperlicious pre {
        border: 1px solid #c1c1c1;
        border-radius: 3px;
        font: 100% Consolas, Menlo, Monaco, monospace;
        margin-bottom: 1em;
        margin-top: 1em;
      }
      #wrapperlicious pre > code {
        display: block;
        background-color: #f6f6f6;
        font: 0.9em Consolas, Menlo, Monaco, monospace;
        line-height: 1.5em;
        text-align: left;
        white-space: pre;
        padding: 1em;
      }
      #wrapperlicious dl, #wrapperlicious ol, #wrapperlicious ul {
        margin-bottom: 1em;
        margin-top: 1em;
      }
      #wrapperlicious ul {
        list-style-type: square;
      }
      #wrapperlicious ul ul {
        margin-bottom: 0px;
        margin-top: 0px;
      }
      #footer {
        font-size: 0.8em;
        padding-top: 0.5em;
        text-align: center;
      }
      #more {
        display: inline;
        font-size: 0.8em;
      }
      #perldocdiv {
        background-color: #fff;
        border: 1px solid #c1c1c1;
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
        margin-left: auto;
        margin-right: auto;
        padding: 3em;
        padding-top: 1em;
        max-width: 960px;
      }
      #moduleversion { float: right }
      #wrapperlicious .leading-notice {
        font-style: italic;
        padding-left: 1em;
        margin-top: 1em;
        margin-bottom: 1em;
      }
      #wrapperlicious .permalink {
        display: none;
        left: -0.75em;
        position: absolute;
        padding-right: 0.25em;
        text-decoration: none;
      }
      #wrapperlicious h1:hover .permalink, #wrapperlicious h2:hover .permalink,
      #wrapperlicious h3:hover .permalink, #wrapperlicious h4:hover .permalink,
      #wrapperlicious dt:hover .permalink {
        display: block;
      }
    </style>
    <!-- Global site tag (gtag.js) - Google Analytics -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=G-KVNWBNT5FB"></script>
    <script>
      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());

      gtag('config', 'G-KVNWBNT5FB');
      gtag('config', 'UA-50555-3');
    </script>
  </head>
  <body>
    <nav class="navbar navbar-expand-md navbar-dark bg-dark justify-content-between">
  <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
    <span class="navbar-toggler-icon"></span>
  </button>
  <a class="navbar-brand" href="https://perldoc.perl.org/">Perldoc Browser</a>
  <div class="collapse navbar-collapse" id="navbarNav">
    <ul class="navbar-nav mr-auto">
      <li class="nav-item dropdown text-nowrap">
        <a class="nav-link dropdown-toggle" href="./ExtUtils::MM_Unix.html#" id="dropdownlink-stable" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">5.35.0</a>
        <div class="dropdown-menu" aria-labelledby="dropdownlink-stable">
          <a class="dropdown-item" href="https://perldoc.perl.org/ExtUtils::MM_Unix">Latest</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.2/ExtUtils::MM_Unix">5.38.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.1/ExtUtils::MM_Unix">5.38.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.0/ExtUtils::MM_Unix">5.38.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.36.3/ExtUtils::MM_Unix">5.36.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.36.2/ExtUtils::MM_Unix">5.36.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.36.1/ExtUtils::MM_Unix">5.36.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.36.0/ExtUtils::MM_Unix">5.36.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.34.3/ExtUtils::MM_Unix">5.34.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.34.2/ExtUtils::MM_Unix">5.34.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.34.1/ExtUtils::MM_Unix">5.34.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.34.0/ExtUtils::MM_Unix">5.34.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.32.1/ExtUtils::MM_Unix">5.32.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.32.0/ExtUtils::MM_Unix">5.32.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.30.3/ExtUtils::MM_Unix">5.30.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.30.2/ExtUtils::MM_Unix">5.30.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.30.1/ExtUtils::MM_Unix">5.30.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.30.0/ExtUtils::MM_Unix">5.30.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.28.3/ExtUtils::MM_Unix">5.28.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.28.2/ExtUtils::MM_Unix">5.28.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.28.1/ExtUtils::MM_Unix">5.28.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.28.0/ExtUtils::MM_Unix">5.28.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.26.3/ExtUtils::MM_Unix">5.26.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.26.2/ExtUtils::MM_Unix">5.26.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.26.1/ExtUtils::MM_Unix">5.26.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.26.0/ExtUtils::MM_Unix">5.26.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.4/ExtUtils::MM_Unix">5.24.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.3/ExtUtils::MM_Unix">5.24.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.2/ExtUtils::MM_Unix">5.24.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.1/ExtUtils::MM_Unix">5.24.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.0/ExtUtils::MM_Unix">5.24.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.4/ExtUtils::MM_Unix">5.22.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.3/ExtUtils::MM_Unix">5.22.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.2/ExtUtils::MM_Unix">5.22.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.1/ExtUtils::MM_Unix">5.22.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.0/ExtUtils::MM_Unix">5.22.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.20.3/ExtUtils::MM_Unix">5.20.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.20.2/ExtUtils::MM_Unix">5.20.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.20.1/ExtUtils::MM_Unix">5.20.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.20.0/ExtUtils::MM_Unix">5.20.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.4/ExtUtils::MM_Unix">5.18.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.3/ExtUtils::MM_Unix">5.18.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.2/ExtUtils::MM_Unix">5.18.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.1/ExtUtils::MM_Unix">5.18.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.0/ExtUtils::MM_Unix">5.18.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.16.3/ExtUtils::MM_Unix">5.16.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.16.2/ExtUtils::MM_Unix">5.16.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.16.1/ExtUtils::MM_Unix">5.16.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.16.0/ExtUtils::MM_Unix">5.16.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.4/ExtUtils::MM_Unix">5.14.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.3/ExtUtils::MM_Unix">5.14.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.2/ExtUtils::MM_Unix">5.14.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.1/ExtUtils::MM_Unix">5.14.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.0/ExtUtils::MM_Unix">5.14.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.5/ExtUtils::MM_Unix">5.12.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.4/ExtUtils::MM_Unix">5.12.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.3/ExtUtils::MM_Unix">5.12.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.2/ExtUtils::MM_Unix">5.12.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.1/ExtUtils::MM_Unix">5.12.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.0/ExtUtils::MM_Unix">5.12.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.10.1/ExtUtils::MM_Unix">5.10.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.10.0/ExtUtils::MM_Unix">5.10.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.9/ExtUtils::MM_Unix">5.8.9</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.8/ExtUtils::MM_Unix">5.8.8</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.7/ExtUtils::MM_Unix">5.8.7</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.6/ExtUtils::MM_Unix">5.8.6</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.5/ExtUtils::MM_Unix">5.8.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.4/ExtUtils::MM_Unix">5.8.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.3/ExtUtils::MM_Unix">5.8.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.2/ExtUtils::MM_Unix">5.8.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.1/ExtUtils::MM_Unix">5.8.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.0/ExtUtils::MM_Unix">5.8.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.6.2/ExtUtils::MM_Unix">5.6.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.6.1/ExtUtils::MM_Unix">5.6.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.6.0/ExtUtils::MM_Unix">5.6.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005_04/ExtUtils::MM_Unix">5.005_04</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005_03/ExtUtils::MM_Unix">5.005_03</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005_02/ExtUtils::MM_Unix">5.005_02</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005_01/ExtUtils::MM_Unix">5.005_01</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005/ExtUtils::MM_Unix">5.005</a>
        </div>
      </li>
      <li class="nav-item dropdown text-nowrap">
        <a class="nav-link dropdown-toggle" href="./ExtUtils::MM_Unix.html#" id="dropdownlink-dev" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dev</a>
        <div class="dropdown-menu" aria-labelledby="dropdownlink-dev">
          <a class="dropdown-item" href="https://perldoc.perl.org/blead/ExtUtils::MM_Unix">blead</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.6/ExtUtils::MM_Unix">5.39.6</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.5/ExtUtils::MM_Unix">5.39.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.4/ExtUtils::MM_Unix">5.39.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.3/ExtUtils::MM_Unix">5.39.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.2/ExtUtils::MM_Unix">5.39.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.1/ExtUtils::MM_Unix">5.39.1</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.0-RC2/ExtUtils::MM_Unix">5.38.0-RC2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.0-RC1/ExtUtils::MM_Unix">5.38.0-RC1</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.11/ExtUtils::MM_Unix">5.37.11</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.10/ExtUtils::MM_Unix">5.37.10</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.9/ExtUtils::MM_Unix">5.37.9</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.8/ExtUtils::MM_Unix">5.37.8</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.7/ExtUtils::MM_Unix">5.37.7</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.6/ExtUtils::MM_Unix">5.37.6</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.5/ExtUtils::MM_Unix">5.37.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.4/ExtUtils::MM_Unix">5.37.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.3/ExtUtils::MM_Unix">5.37.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.2/ExtUtils::MM_Unix">5.37.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.1/ExtUtils::MM_Unix">5.37.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.0/ExtUtils::MM_Unix">5.37.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.11/ExtUtils::MM_Unix">5.35.11</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.10/ExtUtils::MM_Unix">5.35.10</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.9/ExtUtils::MM_Unix">5.35.9</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.8/ExtUtils::MM_Unix">5.35.8</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.7/ExtUtils::MM_Unix">5.35.7</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.6/ExtUtils::MM_Unix">5.35.6</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.5/ExtUtils::MM_Unix">5.35.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.4/ExtUtils::MM_Unix">5.35.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.3/ExtUtils::MM_Unix">5.35.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.2/ExtUtils::MM_Unix">5.35.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.1/ExtUtils::MM_Unix">5.35.1</a>
          <a class="dropdown-item active" href="./ExtUtils::MM_Unix.html">5.35.0</a>
        </div>
      </li>
      <li class="nav-item dropdown text-nowrap">
        <a class="nav-link dropdown-toggle" href="./ExtUtils::MM_Unix.html#" id="dropdownlink-nav" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Documentation</a>
        <div class="dropdown-menu" aria-labelledby="dropdownlink-nav">
          <a class="dropdown-item" href="perl.html">Perl</a>
          <a class="dropdown-item" href="perlintro.html">Intro</a>
          <a class="dropdown-item" href="perl.html#Tutorials">Tutorials</a>
          <a class="dropdown-item" href="perlfaq.html">FAQs</a>
          <a class="dropdown-item" href="perl.html#Reference-Manual">Reference</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="perlop.html">Operators</a>
          <a class="dropdown-item" href="functions.html">Functions</a>
          <a class="dropdown-item" href="variables.html">Variables</a>
          <a class="dropdown-item" href="modules.html">Modules</a>
          <a class="dropdown-item" href="perlutil.html">Utilities</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="perlcommunity.html">Community</a>
          <a class="dropdown-item" href="perlhist.html">History</a>
        </div>
      </li>
    </ul>
    <ul class="navbar-nav">
      <script>
        function set_expand (expand) {
          var perldocdiv = document.getElementById('perldocdiv');
          var width = window.getComputedStyle(perldocdiv).getPropertyValue('max-width');
          var expanded = (width == '' || width == 'none') ? true : false;
          if (expand === null) {
            expand = !expanded;
          }
          if ((expand && !expanded) || (!expand && expanded)) {
            perldocdiv.style.setProperty('max-width', expand ? 'none' : '960px');
            var button_classlist = document.getElementById('content-expand-button').classList;
            if (expand) {
              button_classlist.add('btn-light');
              button_classlist.remove('btn-outline-light');
            } else {
              button_classlist.add('btn-outline-light');
              button_classlist.remove('btn-light');
            }
          }
          return expand;
        }
        function toggle_expand () {
          var expand = set_expand(null);
          document.cookie = 'perldoc_expand=' + (expand ? 1 : 0) + '; path=/; expires=Tue, 19 Jan 2038 03:14:07 UTC';
        }
        function read_expand () {
          return document.cookie.split(';').some(function (item) { return item.indexOf('perldoc_expand=1') >= 0 });
        }
        if (document.readyState === 'loading') {
          document.addEventListener('DOMContentLoaded', function () {
            if (read_expand()) {
              set_expand(true);
            }
          });
        } else if (read_expand()) {
          set_expand(true);
        }
      </script>
      <button id="content-expand-button" type="button" class="btn btn-outline-light d-none d-lg-inline-block mr-2" onclick="toggle_expand()">Expand</button>
    <ul>
    <form class="form-inline" method="get" action="https://perldoc.perl.org/5.35.0/search">
      <input class="form-control mr-3" type="search" name="q" placeholder="Search" aria-label="Search">
    </form>
  </div>
</nav>

    <div id="wrapperlicious" class="container-fluid">
      <div id="perldocdiv">
        <div id="links">
          <a href="./ExtUtils::MM_Unix.html">ExtUtils::MM_Unix</a>
          <div id="more">
            (<a href="./ExtUtils::MM_Unix.txt">source</a>,
            <a href="https://metacpan.org/pod/ExtUtils::MM_Unix">CPAN</a>)
          </div>
            <div id="moduleversion">version 7.62</div>
        </div>
        <div class="leading-notice">
          You are viewing the version of this documentation from Perl 5.35.0.
            This is a development version of Perl.
        </div>
        <h1><a id="toc">CONTENTS</a></h1>
                  <ul>
              <li>
                <a class="text-decoration-none" href="./ExtUtils::MM_Unix.html#NAME">NAME</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./ExtUtils::MM_Unix.html#SYNOPSIS">SYNOPSIS</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./ExtUtils::MM_Unix.html#DESCRIPTION">DESCRIPTION</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./ExtUtils::MM_Unix.html#METHODS">METHODS</a>
                            <ul>
              <li>
                <a class="text-decoration-none" href="./ExtUtils::MM_Unix.html#Methods">Methods</a>
              </li>
          </ul>

              </li>
              <li>
                <a class="text-decoration-none" href="./ExtUtils::MM_Unix.html#SEE-ALSO">SEE ALSO</a>
              </li>
          </ul>

      <h1 id="NAME"><a class="permalink" href="./ExtUtils::MM_Unix.html#NAME">#</a>NAME</h1>

<p>ExtUtils::MM_Unix - methods used by ExtUtils::MakeMaker</p>

<h1 id="SYNOPSIS"><a class="permalink" href="./ExtUtils::MM_Unix.html#SYNOPSIS">#</a>SYNOPSIS</h1>

<pre><code>require ExtUtils::MM_Unix;</code></pre>

<h1 id="DESCRIPTION"><a class="permalink" href="./ExtUtils::MM_Unix.html#DESCRIPTION">#</a>DESCRIPTION</h1>

<p>The methods provided by this package are designed to be used in conjunction with <a href="./ExtUtils::MakeMaker.html">ExtUtils::MakeMaker</a>. When MakeMaker writes a Makefile, it creates one or more objects that inherit their methods from a package <a href="./ExtUtils::MM.html">MM</a>. MM itself doesn&#39;t provide any methods, but it ISA ExtUtils::MM_Unix class. The inheritance tree of MM lets operating specific packages take the responsibility for all the methods provided by MM_Unix. We are trying to reduce the number of the necessary overrides by defining rather primitive operations within ExtUtils::MM_Unix.</p>

<p>If you are going to write a platform specific MM package, please try to limit the necessary overrides to primitive methods, and if it is not possible to do so, let&#39;s work out how to achieve that gain.</p>

<p>If you are overriding any of these methods in your Makefile.PL (in the MY class), please report that to the makemaker mailing list. We are trying to minimize the necessary method overrides and switch to data driven Makefile.PLs wherever possible. In the long run less methods will be overridable via the MY class.</p>

<h1 id="METHODS"><a class="permalink" href="./ExtUtils::MM_Unix.html#METHODS">#</a>METHODS</h1>

<p>The following description of methods is still under development. Please refer to the code for not suitably documented sections and complain loudly to the makemaker@perl.org mailing list. Better yet, provide a patch.</p>

<p>Not all of the methods below are overridable in a Makefile.PL. Overridable methods are marked as (o). All methods are overridable by a platform specific MM_*.pm file.</p>

<p>Cross-platform methods are being moved into <a href="./ExtUtils::MM_Any.html">MM_Any</a>. If you can&#39;t find something that used to be in here, look in MM_Any.</p>

<h2 id="Methods"><a class="permalink" href="./ExtUtils::MM_Unix.html#Methods">#</a>Methods</h2>

<dl>

<dt id="os_flavor"><a class="permalink" href="./ExtUtils::MM_Unix.html#os_flavor">#</a>os_flavor</dt>
<dd>

<p>Simply says that we&#39;re Unix.</p>

</dd>
<dt id="c_o-(o)"><a class="permalink" href="./ExtUtils::MM_Unix.html#c_o-(o)">#</a><a id="c_o"></a><a id="c_o-o"></a>c_o (o)</dt>
<dd>

<p>Defines the suffix rules to compile different flavors of C files to object files.</p>

</dd>
<dt id="xs_obj_opt"><a class="permalink" href="./ExtUtils::MM_Unix.html#xs_obj_opt">#</a>xs_obj_opt</dt>
<dd>

<p>Takes the object file as an argument, and returns the portion of compile command-line that will output to the specified object file.</p>

</dd>
<dt id="dbgoutflag"><a class="permalink" href="./ExtUtils::MM_Unix.html#dbgoutflag">#</a>dbgoutflag</dt>
<dd>

<p>Returns a CC flag that tells the CC to emit a separate debugging symbol file when compiling an object file.</p>

</dd>
<dt id="cflags-(o)"><a class="permalink" href="./ExtUtils::MM_Unix.html#cflags-(o)">#</a><a id="cflags"></a><a id="cflags-o"></a>cflags (o)</dt>
<dd>

<p>Does very much the same as the cflags script in the perl distribution. It doesn&#39;t return the whole compiler command line, but initializes all of its parts. The const_cccmd method then actually returns the definition of the CCCMD macro which uses these parts.</p>

</dd>
<dt id="const_cccmd-(o)"><a class="permalink" href="./ExtUtils::MM_Unix.html#const_cccmd-(o)">#</a><a id="const_cccmd"></a><a id="const_cccmd-o"></a>const_cccmd (o)</dt>
<dd>

<p>Returns the full compiler call for C programs and stores the definition in CONST_CCCMD.</p>

</dd>
<dt id="const_config-(o)"><a class="permalink" href="./ExtUtils::MM_Unix.html#const_config-(o)">#</a><a id="const_config"></a><a id="const_config-o"></a>const_config (o)</dt>
<dd>

<p>Sets SHELL if needed, then defines a couple of constants in the Makefile that are imported from %Config.</p>

</dd>
<dt id="const_loadlibs-(o)"><a class="permalink" href="./ExtUtils::MM_Unix.html#const_loadlibs-(o)">#</a><a id="const_loadlibs"></a><a id="const_loadlibs-o"></a>const_loadlibs (o)</dt>
<dd>

<p>Defines EXTRALIBS, LDLOADLIBS, BSLOADLIBS, LD_RUN_PATH. See <a href="./ExtUtils::Liblist.html">ExtUtils::Liblist</a> for details.</p>

</dd>
<dt id="constants-(o)"><a class="permalink" href="./ExtUtils::MM_Unix.html#constants-(o)">#</a><a id="constants"></a><a id="constants-o"></a>constants (o)</dt>
<dd>

<pre><code>my $make_frag = $mm-&gt;constants;</code></pre>

<p>Prints out macros for lots of constants.</p>

</dd>
<dt id="depend-(o)"><a class="permalink" href="./ExtUtils::MM_Unix.html#depend-(o)">#</a><a id="depend"></a><a id="depend-o"></a>depend (o)</dt>
<dd>

<p>Same as macro for the depend attribute.</p>

</dd>
<dt id="init_DEST"><a class="permalink" href="./ExtUtils::MM_Unix.html#init_DEST">#</a>init_DEST</dt>
<dd>

<pre><code>$mm-&gt;init_DEST</code></pre>

<p>Defines the DESTDIR and DEST* variables paralleling the INSTALL*.</p>

</dd>
<dt id="init_dist"><a class="permalink" href="./ExtUtils::MM_Unix.html#init_dist">#</a>init_dist</dt>
<dd>

<pre><code>$mm-&gt;init_dist;</code></pre>

<p>Defines a lot of macros for distribution support.</p>

<pre><code>macro         description                     default

TAR           tar command to use              tar
TARFLAGS      flags to pass to TAR            cvf

ZIP           zip command to use              zip
ZIPFLAGS      flags to pass to ZIP            -r

COMPRESS      compression command to          gzip --best
              use for tarfiles
SUFFIX        suffix to put on                .gz
              compressed files

SHAR          shar command to use             shar

PREOP         extra commands to run before
              making the archive
POSTOP        extra commands to run after
              making the archive

TO_UNIX       a command to convert linefeeds
              to Unix style in your archive

CI            command to checkin your         ci -u
              sources to version control
RCS_LABEL     command to label your sources   rcs -Nv$(VERSION_SYM): -q
              just after CI is run

DIST_CP       $how argument to manicopy()     best
              when the distdir is created

DIST_DEFAULT  default target to use to        tardist
              create a distribution

DISTVNAME     name of the resulting archive   $(DISTNAME)-$(VERSION)
              (minus suffixes)</code></pre>

</dd>
<dt id="dist-(o)"><a class="permalink" href="./ExtUtils::MM_Unix.html#dist-(o)">#</a><a id="dist"></a><a id="dist-o"></a>dist (o)</dt>
<dd>

<pre><code>my $dist_macros = $mm-&gt;dist(%overrides);</code></pre>

<p>Generates a make fragment defining all the macros initialized in init_dist.</p>

<p>%overrides can be used to override any of the above.</p>

</dd>
<dt id="dist_basics-(o)"><a class="permalink" href="./ExtUtils::MM_Unix.html#dist_basics-(o)">#</a><a id="dist_basics"></a><a id="dist_basics-o"></a>dist_basics (o)</dt>
<dd>

<p>Defines the targets distclean, distcheck, skipcheck, manifest, veryclean.</p>

</dd>
<dt id="dist_ci-(o)"><a class="permalink" href="./ExtUtils::MM_Unix.html#dist_ci-(o)">#</a><a id="dist_ci"></a><a id="dist_ci-o"></a>dist_ci (o)</dt>
<dd>

<p>Defines a check in target for RCS.</p>

</dd>
<dt id="dist_core-(o)"><a class="permalink" href="./ExtUtils::MM_Unix.html#dist_core-(o)">#</a><a id="dist_core"></a><a id="dist_core-o"></a>dist_core (o)</dt>
<dd>

<pre><code>my $dist_make_fragment = $MM-&gt;dist_core;</code></pre>

<p>Puts the targets necessary for &#39;make dist&#39; together into one make fragment.</p>

</dd>
<dt id="dist_target"><a class="permalink" href="./ExtUtils::MM_Unix.html#dist_target">#</a><b>dist_target</b></dt>
<dd>

<pre><code>my $make_frag = $MM-&gt;dist_target;</code></pre>

<p>Returns the &#39;dist&#39; target to make an archive for distribution. This target simply checks to make sure the Makefile is up-to-date and depends on $(DIST_DEFAULT).</p>

</dd>
<dt id="tardist_target"><a class="permalink" href="./ExtUtils::MM_Unix.html#tardist_target">#</a><b>tardist_target</b></dt>
<dd>

<pre><code>my $make_frag = $MM-&gt;tardist_target;</code></pre>

<p>Returns the &#39;tardist&#39; target which is simply so &#39;make tardist&#39; works. The real work is done by the dynamically named tardistfile_target() method, tardist should have that as a dependency.</p>

</dd>
<dt id="zipdist_target"><a class="permalink" href="./ExtUtils::MM_Unix.html#zipdist_target">#</a><b>zipdist_target</b></dt>
<dd>

<pre><code>my $make_frag = $MM-&gt;zipdist_target;</code></pre>

<p>Returns the &#39;zipdist&#39; target which is simply so &#39;make zipdist&#39; works. The real work is done by the dynamically named zipdistfile_target() method, zipdist should have that as a dependency.</p>

</dd>
<dt id="tarfile_target"><a class="permalink" href="./ExtUtils::MM_Unix.html#tarfile_target">#</a><b>tarfile_target</b></dt>
<dd>

<pre><code>my $make_frag = $MM-&gt;tarfile_target;</code></pre>

<p>The name of this target is the name of the tarball generated by tardist. This target does the actual work of turning the distdir into a tarball.</p>

</dd>
<dt id="zipfile_target"><a class="permalink" href="./ExtUtils::MM_Unix.html#zipfile_target">#</a>zipfile_target</dt>
<dd>

<pre><code>my $make_frag = $MM-&gt;zipfile_target;</code></pre>

<p>The name of this target is the name of the zip file generated by zipdist. This target does the actual work of turning the distdir into a zip file.</p>

</dd>
<dt id="uutardist_target"><a class="permalink" href="./ExtUtils::MM_Unix.html#uutardist_target">#</a>uutardist_target</dt>
<dd>

<pre><code>my $make_frag = $MM-&gt;uutardist_target;</code></pre>

<p>Converts the tarfile into a uuencoded file</p>

</dd>
<dt id="shdist_target"><a class="permalink" href="./ExtUtils::MM_Unix.html#shdist_target">#</a>shdist_target</dt>
<dd>

<pre><code>my $make_frag = $MM-&gt;shdist_target;</code></pre>

<p>Converts the distdir into a shell archive.</p>

</dd>
<dt id="dlsyms-(o)"><a class="permalink" href="./ExtUtils::MM_Unix.html#dlsyms-(o)">#</a><a id="dlsyms"></a><a id="dlsyms-o"></a>dlsyms (o)</dt>
<dd>

<p>Used by some OS&#39; to define DL_FUNCS and DL_VARS and write the *.exp files.</p>

<p>Normally just returns an empty string.</p>

</dd>
<dt id="dynamic_bs-(o)"><a class="permalink" href="./ExtUtils::MM_Unix.html#dynamic_bs-(o)">#</a><a id="dynamic_bs"></a><a id="dynamic_bs-o"></a>dynamic_bs (o)</dt>
<dd>

<p>Defines targets for bootstrap files.</p>

</dd>
<dt id="dynamic_lib-(o)"><a class="permalink" href="./ExtUtils::MM_Unix.html#dynamic_lib-(o)">#</a><a id="dynamic_lib"></a><a id="dynamic_lib-o"></a>dynamic_lib (o)</dt>
<dd>

<p>Defines how to produce the *.so (or equivalent) files.</p>

</dd>
<dt id="xs_dynamic_lib_macros"><a class="permalink" href="./ExtUtils::MM_Unix.html#xs_dynamic_lib_macros">#</a>xs_dynamic_lib_macros</dt>
<dd>

<p>Defines the macros for the <code>dynamic_lib</code> section.</p>

</dd>
<dt id="xs_make_dynamic_lib"><a class="permalink" href="./ExtUtils::MM_Unix.html#xs_make_dynamic_lib">#</a>xs_make_dynamic_lib</dt>
<dd>

<p>Defines the recipes for the <code>dynamic_lib</code> section.</p>

</dd>
<dt id="exescan"><a class="permalink" href="./ExtUtils::MM_Unix.html#exescan">#</a>exescan</dt>
<dd>

<p>Deprecated method. Use libscan instead.</p>

</dd>
<dt id="extliblist"><a class="permalink" href="./ExtUtils::MM_Unix.html#extliblist">#</a>extliblist</dt>
<dd>

<p>Called by init_others, and calls ext ExtUtils::Liblist. See <a href="./ExtUtils::Liblist.html">ExtUtils::Liblist</a> for details.</p>

</dd>
<dt id="find_perl"><a class="permalink" href="./ExtUtils::MM_Unix.html#find_perl">#</a>find_perl</dt>
<dd>

<p>Finds the executables PERL and FULLPERL</p>

</dd>
<dt id="fixin"><a class="permalink" href="./ExtUtils::MM_Unix.html#fixin">#</a>fixin</dt>
<dd>

<pre><code>$mm-&gt;fixin(@files);</code></pre>

<p>Inserts the sharpbang or equivalent magic number to a set of @files.</p>

</dd>
<dt id="force-(o)"><a class="permalink" href="./ExtUtils::MM_Unix.html#force-(o)">#</a><a id="force"></a><a id="force-o"></a>force (o)</dt>
<dd>

<p>Writes an empty FORCE: target.</p>

</dd>
<dt id="guess_name"><a class="permalink" href="./ExtUtils::MM_Unix.html#guess_name">#</a>guess_name</dt>
<dd>

<p>Guess the name of this package by examining the working directory&#39;s name. MakeMaker calls this only if the developer has not supplied a NAME attribute.</p>

</dd>
<dt id="has_link_code"><a class="permalink" href="./ExtUtils::MM_Unix.html#has_link_code">#</a>has_link_code</dt>
<dd>

<p>Returns true if C, XS, MYEXTLIB or similar objects exist within this object that need a compiler. Does not descend into subdirectories as needs_linking() does.</p>

</dd>
<dt id="init_dirscan"><a class="permalink" href="./ExtUtils::MM_Unix.html#init_dirscan">#</a>init_dirscan</dt>
<dd>

<p>Scans the directory structure and initializes DIR, XS, XS_FILES, C, C_FILES, O_FILES, H, H_FILES, PL_FILES, EXE_FILES.</p>

<p>Called by init_main.</p>

</dd>
<dt id="init_MANPODS"><a class="permalink" href="./ExtUtils::MM_Unix.html#init_MANPODS">#</a>init_MANPODS</dt>
<dd>

<p>Determines if man pages should be generated and initializes MAN1PODS and MAN3PODS as appropriate.</p>

</dd>
<dt id="init_MAN1PODS"><a class="permalink" href="./ExtUtils::MM_Unix.html#init_MAN1PODS">#</a>init_MAN1PODS</dt>
<dd>

<p>Initializes MAN1PODS from the list of EXE_FILES.</p>

</dd>
<dt id="init_MAN3PODS"><a class="permalink" href="./ExtUtils::MM_Unix.html#init_MAN3PODS">#</a>init_MAN3PODS</dt>
<dd>

<p>Initializes MAN3PODS from the list of PM files.</p>

</dd>
<dt id="init_PM"><a class="permalink" href="./ExtUtils::MM_Unix.html#init_PM">#</a>init_PM</dt>
<dd>

<p>Initializes PMLIBDIRS and PM from PMLIBDIRS.</p>

</dd>
<dt id="init_DIRFILESEP"><a class="permalink" href="./ExtUtils::MM_Unix.html#init_DIRFILESEP">#</a>init_DIRFILESEP</dt>
<dd>

<p>Using / for Unix. Called by init_main.</p>

</dd>
<dt id="init_main"><a class="permalink" href="./ExtUtils::MM_Unix.html#init_main">#</a>init_main</dt>
<dd>

<p>Initializes AR, AR_STATIC_ARGS, BASEEXT, CONFIG, DISTNAME, DLBASE, EXE_EXT, FULLEXT, FULLPERL, FULLPERLRUN, FULLPERLRUNINST, INST_*, INSTALL*, INSTALLDIRS, LIB_EXT, LIBPERL_A, MAP_TARGET, NAME, OBJ_EXT, PARENT_NAME, PERL, PERL_ARCHLIB, PERL_INC, PERL_LIB, PERL_SRC, PERLRUN, PERLRUNINST, PREFIX, VERSION, VERSION_SYM, XS_VERSION.</p>

</dd>
<dt id="init_tools"><a class="permalink" href="./ExtUtils::MM_Unix.html#init_tools">#</a>init_tools</dt>
<dd>

<p>Initializes tools to use their common (and faster) Unix commands.</p>

</dd>
<dt id="init_linker"><a class="permalink" href="./ExtUtils::MM_Unix.html#init_linker">#</a>init_linker</dt>
<dd>

<p>Unix has no need of special linker flags.</p>

</dd>
<dt id="init_PERL"><a class="permalink" href="./ExtUtils::MM_Unix.html#init_PERL">#</a>init_PERL</dt>
<dd>

<pre><code>$mm-&gt;init_PERL;</code></pre>

<p>Called by init_main. Sets up ABSPERL, PERL, FULLPERL and all the *PERLRUN* permutations.</p>

<pre><code class="plaintext">PERL is allowed to be miniperl
FULLPERL must be a complete perl

ABSPERL is PERL converted to an absolute path

*PERLRUN contains everything necessary to run perl, find it&#39;s
     libraries, etc...

*PERLRUNINST is *PERLRUN + everything necessary to find the
     modules being built.</code></pre>

</dd>
<dt id="init_platform"><a class="permalink" href="./ExtUtils::MM_Unix.html#init_platform">#</a>init_platform</dt>
<dd>

</dd>
<dt id="platform_constants"><a class="permalink" href="./ExtUtils::MM_Unix.html#platform_constants">#</a>platform_constants</dt>
<dd>

<p>Add MM_Unix_VERSION.</p>

</dd>
<dt id="init_PERM"><a class="permalink" href="./ExtUtils::MM_Unix.html#init_PERM">#</a>init_PERM</dt>
<dd>

<pre><code>$mm-&gt;init_PERM</code></pre>

<p>Called by init_main. Initializes PERL_*</p>

</dd>
<dt id="init_xs"><a class="permalink" href="./ExtUtils::MM_Unix.html#init_xs">#</a>init_xs</dt>
<dd>

<pre><code>$mm-&gt;init_xs</code></pre>

<p>Sets up macros having to do with XS code. Currently just INST_STATIC, INST_DYNAMIC and INST_BOOT.</p>

</dd>
<dt id="install-(o)"><a class="permalink" href="./ExtUtils::MM_Unix.html#install-(o)">#</a><a id="install"></a><a id="install-o"></a>install (o)</dt>
<dd>

<p>Defines the install target.</p>

</dd>
<dt id="installbin-(o)"><a class="permalink" href="./ExtUtils::MM_Unix.html#installbin-(o)">#</a><a id="installbin"></a><a id="installbin-o"></a>installbin (o)</dt>
<dd>

<p>Defines targets to make and to install EXE_FILES.</p>

</dd>
<dt id="linkext-(o)"><a class="permalink" href="./ExtUtils::MM_Unix.html#linkext-(o)">#</a><a id="linkext"></a><a id="linkext-o"></a>linkext (o)</dt>
<dd>

<p>Defines the linkext target which in turn defines the LINKTYPE.</p>

</dd>
<dt id="lsdir"><a class="permalink" href="./ExtUtils::MM_Unix.html#lsdir">#</a>lsdir</dt>
<dd>

<p>Takes as arguments a directory name and a regular expression. Returns all entries in the directory that match the regular expression.</p>

</dd>
<dt id="macro-(o)"><a class="permalink" href="./ExtUtils::MM_Unix.html#macro-(o)">#</a><a id="macro"></a><a id="macro-o"></a>macro (o)</dt>
<dd>

<p>Simple subroutine to insert the macros defined by the macro attribute into the Makefile.</p>

</dd>
<dt id="makeaperl-(o)"><a class="permalink" href="./ExtUtils::MM_Unix.html#makeaperl-(o)">#</a><a id="makeaperl"></a><a id="makeaperl-o"></a>makeaperl (o)</dt>
<dd>

<p>Called by staticmake. Defines how to write the Makefile to produce a static new perl.</p>

<p>By default the Makefile produced includes all the static extensions in the perl library. (Purified versions of library files, e.g., DynaLoader_pure_p1_c0_032.a are automatically ignored to avoid link errors.)</p>

</dd>
<dt id="xs_static_lib_is_xs-(o)"><a class="permalink" href="./ExtUtils::MM_Unix.html#xs_static_lib_is_xs-(o)">#</a><a id="xs_static_lib_is_xs"></a><a id="xs_static_lib_is_xs-o"></a>xs_static_lib_is_xs (o)</dt>
<dd>

<p>Called by a utility method of makeaperl. Checks whether a given file is an XS library by seeing whether it defines any symbols starting with <code>boot_</code> (with an optional leading underscore - needed on MacOS).</p>

</dd>
<dt id="makefile-(o)"><a class="permalink" href="./ExtUtils::MM_Unix.html#makefile-(o)">#</a><a id="makefile"></a><a id="makefile-o"></a>makefile (o)</dt>
<dd>

<p>Defines how to rewrite the Makefile.</p>

</dd>
<dt id="maybe_command"><a class="permalink" href="./ExtUtils::MM_Unix.html#maybe_command">#</a>maybe_command</dt>
<dd>

<p>Returns true, if the argument is likely to be a command.</p>

</dd>
<dt id="needs_linking-(o)"><a class="permalink" href="./ExtUtils::MM_Unix.html#needs_linking-(o)">#</a><a id="needs_linking"></a><a id="needs_linking-o"></a>needs_linking (o)</dt>
<dd>

<p>Does this module need linking? Looks into subdirectory objects (see also has_link_code())</p>

</dd>
<dt id="parse_abstract"><a class="permalink" href="./ExtUtils::MM_Unix.html#parse_abstract">#</a>parse_abstract</dt>
<dd>

<p>parse a file and return what you think is the ABSTRACT</p>

</dd>
<dt id="parse_version"><a class="permalink" href="./ExtUtils::MM_Unix.html#parse_version">#</a>parse_version</dt>
<dd>

<pre><code>my $version = MM-&gt;parse_version($file);</code></pre>

<p>Parse a $file and return what $VERSION is set to by the first assignment. It will return the string &quot;undef&quot; if it can&#39;t figure out what $VERSION is. $VERSION should be for all to see, so <code>our $VERSION</code> or plain $VERSION are okay, but <code>my $VERSION</code> is not.</p>

<p><code>package Foo VERSION</code> is also checked for. The first version declaration found is used, but this may change as it differs from how Perl does it.</p>

<p>parse_version() will try to <code>use version</code> before checking for <code>$VERSION</code> so the following will work.</p>

<pre><code>$VERSION = qv(1.2.3);</code></pre>

</dd>
<dt id="pasthru-(o)"><a class="permalink" href="./ExtUtils::MM_Unix.html#pasthru-(o)">#</a><a id="pasthru"></a><a id="pasthru-o"></a>pasthru (o)</dt>
<dd>

<p>Defines the string that is passed to recursive make calls in subdirectories. The variables like <code>PASTHRU_DEFINE</code> are used in each level, and passed downwards on the command-line with e.g. the value of that level&#39;s DEFINE. Example:</p>

<pre><code class="plaintext"># Level 0 has DEFINE = -Dfunky
# This code will define level 0&#39;s PASTHRU=PASTHRU_DEFINE=&quot;$(DEFINE)
#     $(PASTHRU_DEFINE)&quot;
# Level 0&#39;s $(CCCMD) will include macros $(DEFINE) and $(PASTHRU_DEFINE)
# So will level 1&#39;s, so when level 1 compiles, it will get right values
# And so ad infinitum</code></pre>

</dd>
<dt id="perl_script"><a class="permalink" href="./ExtUtils::MM_Unix.html#perl_script">#</a>perl_script</dt>
<dd>

<p>Takes one argument, a file name, and returns the file name, if the argument is likely to be a perl script. On MM_Unix this is true for any ordinary, readable file.</p>

</dd>
<dt id="perldepend-(o)"><a class="permalink" href="./ExtUtils::MM_Unix.html#perldepend-(o)">#</a><a id="perldepend"></a><a id="perldepend-o"></a>perldepend (o)</dt>
<dd>

<p>Defines the dependency from all *.h files that come with the perl distribution.</p>

</dd>
<dt id="pm_to_blib"><a class="permalink" href="./ExtUtils::MM_Unix.html#pm_to_blib">#</a>pm_to_blib</dt>
<dd>

<p>Defines target that copies all files in the hash PM to their destination and autosplits them. See <a href="./ExtUtils::Install.html#DESCRIPTION">&quot;DESCRIPTION&quot; in ExtUtils::Install</a></p>

</dd>
<dt id="ppd"><a class="permalink" href="./ExtUtils::MM_Unix.html#ppd">#</a>ppd</dt>
<dd>

<p>Defines target that creates a PPD (Perl Package Description) file for a binary distribution.</p>

</dd>
<dt id="prefixify"><a class="permalink" href="./ExtUtils::MM_Unix.html#prefixify">#</a>prefixify</dt>
<dd>

<pre><code>$MM-&gt;prefixify($var, $prefix, $new_prefix, $default);</code></pre>

<p>Using either $MM-&gt;{uc $var} || $Config{lc $var}, it will attempt to replace it&#39;s $prefix with a $new_prefix.</p>

<p>Should the $prefix fail to match <i>AND</i> a PREFIX was given as an argument to WriteMakefile() it will set it to the $new_prefix + $default. This is for systems whose file layouts don&#39;t neatly fit into our ideas of prefixes.</p>

<p>This is for heuristics which attempt to create directory structures that mirror those of the installed perl.</p>

<p>For example:</p>

<pre><code>$MM-&gt;prefixify(&#39;installman1dir&#39;, &#39;/usr&#39;, &#39;/home/foo&#39;, &#39;man/man1&#39;);</code></pre>

<p>this will attempt to remove &#39;/usr&#39; from the front of the $MM-&gt;{INSTALLMAN1DIR} path (initializing it to $Config{installman1dir} if necessary) and replace it with &#39;/home/foo&#39;. If this fails it will simply use &#39;/home/foo/man/man1&#39;.</p>

</dd>
<dt id="processPL-(o)"><a class="permalink" href="./ExtUtils::MM_Unix.html#processPL-(o)">#</a><a id="processPL"></a><a id="processPL-o"></a>processPL (o)</dt>
<dd>

<p>Defines targets to run *.PL files.</p>

</dd>
<dt id="specify_shell"><a class="permalink" href="./ExtUtils::MM_Unix.html#specify_shell">#</a>specify_shell</dt>
<dd>

<p>Specify SHELL if needed - not done on Unix.</p>

</dd>
<dt id="quote_paren"><a class="permalink" href="./ExtUtils::MM_Unix.html#quote_paren">#</a>quote_paren</dt>
<dd>

<p>Backslashes parentheses <code>()</code> in command line arguments. Doesn&#39;t handle recursive Makefile <code>$(...)</code> constructs, but handles simple ones.</p>

</dd>
<dt id="replace_manpage_separator"><a class="permalink" href="./ExtUtils::MM_Unix.html#replace_manpage_separator">#</a>replace_manpage_separator</dt>
<dd>

<pre><code>my $man_name = $MM-&gt;replace_manpage_separator($file_path);</code></pre>

<p>Takes the name of a package, which may be a nested package, in the form &#39;Foo/Bar.pm&#39; and replaces the slash with <code>::</code> or something else safe for a man page file name. Returns the replacement.</p>

</dd>
<dt id="cd"><a class="permalink" href="./ExtUtils::MM_Unix.html#cd">#</a>cd</dt>
<dd>

</dd>
<dt id="oneliner"><a class="permalink" href="./ExtUtils::MM_Unix.html#oneliner">#</a>oneliner</dt>
<dd>

</dd>
<dt id="quote_literal"><a class="permalink" href="./ExtUtils::MM_Unix.html#quote_literal">#</a>quote_literal</dt>
<dd>

<p>Quotes macro literal value suitable for being used on a command line so that when expanded by make, will be received by command as given to this method:</p>

<pre><code>my $quoted = $mm-&gt;quote_literal(q{it isn&#39;t});
# returns:
#   &#39;it isn&#39;\&#39;&#39;t&#39;
print MAKEFILE &quot;target:\n\techo $quoted\n&quot;;
# when run &quot;make target&quot;, will output:
#   it isn&#39;t</code></pre>

</dd>
<dt id="escape_newlines"><a class="permalink" href="./ExtUtils::MM_Unix.html#escape_newlines">#</a>escape_newlines</dt>
<dd>

</dd>
<dt id="max_exec_len"><a class="permalink" href="./ExtUtils::MM_Unix.html#max_exec_len">#</a>max_exec_len</dt>
<dd>

<p>Using <a href="POSIX.html">POSIX</a>::ARG_MAX. Otherwise falling back to 4096.</p>

</dd>
<dt id="static-(o)"><a class="permalink" href="./ExtUtils::MM_Unix.html#static-(o)">#</a><a id="static"></a><a id="static-o"></a>static (o)</dt>
<dd>

<p>Defines the static target.</p>

</dd>
<dt id="xs_make_static_lib"><a class="permalink" href="./ExtUtils::MM_Unix.html#xs_make_static_lib">#</a>xs_make_static_lib</dt>
<dd>

<p>Defines the recipes for the <code>static_lib</code> section.</p>

</dd>
<dt id="static_lib_closures"><a class="permalink" href="./ExtUtils::MM_Unix.html#static_lib_closures">#</a>static_lib_closures</dt>
<dd>

<p>Records <code>$(EXTRALIBS)</code> in <i>extralibs.ld</i> and <i>$(PERL_SRC)/ext.libs</i>.</p>

</dd>
<dt id="static_lib_fixtures"><a class="permalink" href="./ExtUtils::MM_Unix.html#static_lib_fixtures">#</a>static_lib_fixtures</dt>
<dd>

<p>Handles copying <code>$(MYEXTLIB)</code> as starter for final static library that then gets added to.</p>

</dd>
<dt id="static_lib_pure_cmd"><a class="permalink" href="./ExtUtils::MM_Unix.html#static_lib_pure_cmd">#</a>static_lib_pure_cmd</dt>
<dd>

<p>Defines how to run the archive utility.</p>

</dd>
<dt id="staticmake-(o)"><a class="permalink" href="./ExtUtils::MM_Unix.html#staticmake-(o)">#</a><a id="staticmake"></a><a id="staticmake-o"></a>staticmake (o)</dt>
<dd>

<p>Calls makeaperl.</p>

</dd>
<dt id="subdir_x-(o)"><a class="permalink" href="./ExtUtils::MM_Unix.html#subdir_x-(o)">#</a><a id="subdir_x"></a><a id="subdir_x-o"></a>subdir_x (o)</dt>
<dd>

<p>Helper subroutine for subdirs</p>

</dd>
<dt id="subdirs-(o)"><a class="permalink" href="./ExtUtils::MM_Unix.html#subdirs-(o)">#</a><a id="subdirs"></a><a id="subdirs-o"></a>subdirs (o)</dt>
<dd>

<p>Defines targets to process subdirectories.</p>

</dd>
<dt id="test-(o)"><a class="permalink" href="./ExtUtils::MM_Unix.html#test-(o)">#</a><a id="test"></a><a id="test-o"></a>test (o)</dt>
<dd>

<p>Defines the test targets.</p>

</dd>
<dt id="test_via_harness-(override)"><a class="permalink" href="./ExtUtils::MM_Unix.html#test_via_harness-(override)">#</a><a id="test_via_harness"></a><a id="test_via_harness-override"></a>test_via_harness (override)</dt>
<dd>

<p>For some reason which I forget, Unix machines like to have PERL_DL_NONLAZY set for tests.</p>

</dd>
<dt id="test_via_script-(override)"><a class="permalink" href="./ExtUtils::MM_Unix.html#test_via_script-(override)">#</a><a id="test_via_script"></a><a id="test_via_script-override"></a>test_via_script (override)</dt>
<dd>

<p>Again, the PERL_DL_NONLAZY thing.</p>

</dd>
<dt id="tool_xsubpp-(o)"><a class="permalink" href="./ExtUtils::MM_Unix.html#tool_xsubpp-(o)">#</a><a id="tool_xsubpp"></a><a id="tool_xsubpp-o"></a>tool_xsubpp (o)</dt>
<dd>

<p>Determines typemaps, xsubpp version, prototype behaviour.</p>

</dd>
<dt id="all_target"><a class="permalink" href="./ExtUtils::MM_Unix.html#all_target">#</a>all_target</dt>
<dd>

<p>Build man pages, too</p>

</dd>
<dt id="top_targets-(o)"><a class="permalink" href="./ExtUtils::MM_Unix.html#top_targets-(o)">#</a><a id="top_targets"></a><a id="top_targets-o"></a>top_targets (o)</dt>
<dd>

<p>Defines the targets all, subdirs, config, and O_FILES</p>

</dd>
<dt id="writedoc"><a class="permalink" href="./ExtUtils::MM_Unix.html#writedoc">#</a>writedoc</dt>
<dd>

<p>Obsolete, deprecated method. Not used since Version 5.21.</p>

</dd>
<dt id="xs_c-(o)"><a class="permalink" href="./ExtUtils::MM_Unix.html#xs_c-(o)">#</a><a id="xs_c"></a><a id="xs_c-o"></a>xs_c (o)</dt>
<dd>

<p>Defines the suffix rules to compile XS files to C.</p>

</dd>
<dt id="xs_cpp-(o)"><a class="permalink" href="./ExtUtils::MM_Unix.html#xs_cpp-(o)">#</a><a id="xs_cpp"></a><a id="xs_cpp-o"></a>xs_cpp (o)</dt>
<dd>

<p>Defines the suffix rules to compile XS files to C++.</p>

</dd>
<dt id="xs_o-(o)"><a class="permalink" href="./ExtUtils::MM_Unix.html#xs_o-(o)">#</a><a id="xs_o"></a><a id="xs_o-o"></a>xs_o (o)</dt>
<dd>

<p>Defines suffix rules to go from XS to object files directly. This was originally only intended for broken make implementations, but is now necessary for per-XS file under <code>XSMULTI</code>, since each XS file might have an individual <code>$(VERSION)</code>.</p>

</dd>
</dl>

<h1 id="SEE-ALSO"><a class="permalink" href="./ExtUtils::MM_Unix.html#SEE-ALSO">#</a><a id="SEE"></a>SEE ALSO</h1>

<p><a href="./ExtUtils::MakeMaker.html">ExtUtils::MakeMaker</a></p>


      </div>
      <div id="footer">
        <p>Perldoc Browser is maintained by Dan Book (<a href="https://metacpan.org/author/DBOOK">DBOOK</a>). Please contact him via the <a href="https://github.com/Grinnz/perldoc-browser/issues">GitHub issue tracker</a> or <a href="mailto:dbook@cpan.org">email</a> regarding any issues with the site itself, search, or rendering of documentation.</p>

<p>The Perl documentation is maintained by the Perl 5 Porters in the development of Perl. Please contact them via the <a href="https://github.com/Perl/perl5/issues">Perl issue tracker</a>, the <a href="https://lists.perl.org/list/perl5-porters.html">mailing list</a>, or <a href="https://kiwiirc.com/client/irc.perl.org/p5p">IRC</a> to report any issues with the contents or format of the documentation.</p>


      </div>
    </div>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.slim.min.js" integrity="sha512-/DXTXr6nQodMUiq+IUJYCt2PPOUjrHJ9wFrqpJ3XkgPNOZVfMok7cRw6CSxyCQxXn6ozlESsSh1/sMCTF1rL/g==" crossorigin="anonymous"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.1/umd/popper.min.js" integrity="sha512-ubuT8Z88WxezgSqf3RLuNi5lmjstiJcyezx34yIU2gAHonIi27Na7atqzUZCOoY4CExaoFumzOsFQ2Ch+I/HCw==" crossorigin="anonymous"></script>
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script>
    <script src="../highlight.pack.js"></script>
    <script>hljs.highlightAll();</script>
  </body>
</html>
